#include <vector>
#include <string>
#include "enum.h"
#include "Term.h"

using namespace std;

class Equation
{
private:
	string name;
	vector<Variable> input; 
	Parameter output;
	Term t;
public:
	Equation(){};
	string get_name(){return this->name;};
	vector<Variable> get_params(){return this->input;};
	Variable get_param_at(int i){return this->input.at(i);};
	Parameter get_output(){return this->output;};

	void set_name(string s){this->name = s;};
	void add_var(Variable v){this->input.push_back(v);};
	void set_output(Parameter p){this->output = p;};
	void set_vars(vector<Variable> v)
	{
		for(int i=0;i<this->input.size();i++)
			input.at(i).set_value(v.at(i).get_value());
	};
};